package com.leven.weatherdemo.model;

import com.leven.weatherdemo.presenter.OnWeatherLitener;

/**
 *查询天气的接口
 * Created by Administrator on 2016/8/16.
 */
public interface WeatherModel {

    /**
     * 访问环境云API，获取数据
     *
     * @param cityName 要查询城市名称
     * @param litener  得到天气数据后回调接口方法
     */
    void loadWeather(String cityName, OnWeatherLitener litener);

}
